[XEN][POWERPC] Support your older compilers
authorjimix@localhost.localdomain <jimix@localhost.localdomain>
Thu, 12 Oct 2006 21:09:19 +0000 (17:09 -0400)
committerjimix@localhost.localdomain <jimix@localhost.localdomain>
Thu, 12 Oct 2006 21:09:19 +0000 (17:09 -0400)
gcc 3.3.x doesn't like some instructions we are using so lets dum them
down a bit.

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %93r5%3E%3B%09%5C%FA%F8-%09%C8%B8%91%D9%A2%B5%8C%A75

xen/arch/powerpc/powerpc64/exceptions.S
xen/arch/powerpc/setup.c

index 224568bfc1e4aa3287f3b15301ed2734b9bac9c9..8b3c9e9fee0f7f86f53b7cdc03ee68a698b771a3 100644 (file)
@@ -587,7 +587,7 @@ spin_start:
     b .
     /* Find our index in the array of processor_area struct pointers.  */
 2:  LOADADDR(r14, global_cpu_table)
-    muli r15, r3, 8
+    mulli r15, r3, 8
     add r14, r14, r15
     /* Spin until the pointer for our processor goes valid.  */
 1:  ld r15, 0(r14)
index c31fa1cd7ecd95cf688c3205ab12bde9dd9773ab..f827c2fbf6902d3534fa2e44a8f6b7f2172673ee 100644 (file)
@@ -118,7 +118,7 @@ void noinline __attn(void)
      * NOP is there to make sure there is something sane to "step
      * over" to. */
     console_start_sync();
-    asm volatile("attn");
+    asm volatile(".long 0x200;nop");
     console_end_sync();
 }